// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_CHK_QUALITY_CHECKING
// * CreateDate    : 2011-11-23 15:45:46
// * Creater       : CodeSmith
// * LastChangeDate: 2011-11-23 15:45:46
// * LastChanger   : 2011-11-23 15:45:46
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ChkQualityCheckingTable : TableInfo
    {
		public const string C_TableName = "CHK_QUALITY_CHECKING";
		
		public const string C_CHECKING_ID = "CHECKING_ID";
		public const string C_RELATED_ORDER_ID = "RELATED_ORDER_ID";
		public const string C_CHECKING_CODE = "CHECKING_CODE";
		public const string C_CHECKING_ORDER_TYPE = "CHECKING_ORDER_TYPE";
		public const string C_CHECKING_PERSON = "CHECKING_PERSON";
		public const string C_CHECKING_DATE = "CHECKING_DATE";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		public const string C_APPRIVED_DATE = "APPRIVED_DATE";
		public const string C_APPRIVED_BY = "APPRIVED_BY";
		public const string C_STATUS = "STATUS";
		public const string C_REMARK = "REMARK";
		
		public ChkQualityCheckingTable()
        {
            _tableName = "CHK_QUALITY_CHECKING";
        }
		
		protected static ChkQualityCheckingTable _current;
        public static ChkQualityCheckingTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ChkQualityCheckingTable();

            _current.Add(C_CHECKING_ID, new ColumnInfo(C_CHECKING_ID,"CheckingId", true, typeof(string)));
            _current.Add(C_RELATED_ORDER_ID, new ColumnInfo(C_RELATED_ORDER_ID,"RelatedOrderId", false, typeof(string)));
            _current.Add(C_CHECKING_CODE, new ColumnInfo(C_CHECKING_CODE,"CheckingCode", false, typeof(string)));
            _current.Add(C_CHECKING_ORDER_TYPE, new ColumnInfo(C_CHECKING_ORDER_TYPE,"CheckingOrderType", false, typeof(string)));
            _current.Add(C_CHECKING_PERSON, new ColumnInfo(C_CHECKING_PERSON,"CheckingPerson", false, typeof(string)));
            _current.Add(C_CHECKING_DATE, new ColumnInfo(C_CHECKING_DATE,"CheckingDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE,"LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
            _current.Add(C_APPRIVED_DATE, new ColumnInfo(C_APPRIVED_DATE,"ApprivedDate", false, typeof(DateTime)));
            _current.Add(C_APPRIVED_BY, new ColumnInfo(C_APPRIVED_BY,"ApprivedBy", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo CHECKING_ID
        {
            get { return this[C_CHECKING_ID]; }
        }
		
		public ColumnInfo RELATED_ORDER_ID
        {
            get { return this[C_RELATED_ORDER_ID]; }
        }
		
		public ColumnInfo CHECKING_CODE
        {
            get { return this[C_CHECKING_CODE]; }
        }
		
		public ColumnInfo CHECKING_ORDER_TYPE
        {
            get { return this[C_CHECKING_ORDER_TYPE]; }
        }
		
		public ColumnInfo CHECKING_PERSON
        {
            get { return this[C_CHECKING_PERSON]; }
        }
		
		public ColumnInfo CHECKING_DATE
        {
            get { return this[C_CHECKING_DATE]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		public ColumnInfo APPRIVED_DATE
        {
            get { return this[C_APPRIVED_DATE]; }
        }
		
		public ColumnInfo APPRIVED_BY
        {
            get { return this[C_APPRIVED_BY]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

